package org.jeecg.modules.demo.partner.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("GC_PARTNER")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="partner对象", description="partner")
public class Partner implements Serializable {
    private static final long serialVersionUID = 1L;

    /**id*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
//    @TableField("USER_NAME")
    private String id;
    /**用户id*/
    @Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
//    @TableField("USERID")
    private String userid;
    /**用户账号*/
    @Excel(name = "用户账号", width = 15)
    @ApiModelProperty(value = "用户账号")
//    @TableField("USER_NAME")
    private String username;
    /**登录密码*/
    @Excel(name = "登录密码", width = 15)
    @ApiModelProperty(value = "登录密码")
//    @TableField("PASSWODRD")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String password;
    /**md5密码盐*/
    @Excel(name = "md5密码盐", width = 15)
    @ApiModelProperty(value = "md5密码盐")
//    @TableField("SALT")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String salt;
    /**企业名称*/
    @Excel(name = "企业名称", width = 15)
    @ApiModelProperty(value = "企业名称")
//    @TableField("COMPANY_NAME")
    private String companyName;
    /**合作商家类型*/
    @Excel(name = "合作商家类型", width = 15)
    @ApiModelProperty(value = "合作商家类型")
//    @TableField("COOPERATOR_TYPE")
    private String cooperatorType;
    /**企业地址*/
    @Excel(name = "企业地址", width = 15)
    @ApiModelProperty(value = "企业地址")
//    @TableField("COMPANY_ADDRESS")
    private String companyAddress;
    /**联系人姓名*/
    @Excel(name = "联系人姓名", width = 15)
    @ApiModelProperty(value = "联系人姓名")
//    @TableField("CONTACT_NAME")
    private String contactName;
    /**联系人手机号*/
    @Excel(name = "联系人手机号", width = 15)
    @ApiModelProperty(value = "联系人手机号")
//    @TableField("CONTACT_PHONE")
    private String contactPhone;
    /**服务区域*/
    @Excel(name = "服务区域", width = 15)
    @ApiModelProperty(value = "服务区域")
//    @TableField("SERVICE_AREA")
    private String serviceArea;
    /**服务范围*/
    @Excel(name = "服务范围", width = 15)
    @ApiModelProperty(value = "服务范围")
//    @TableField("SERVICE_SCOPE")
    private String serviceScope;
    /**营业执照编号*/
    @Excel(name = "营业执照编号", width = 15)
    @ApiModelProperty(value = "营业执照编号")
    @TableField("BUSINESS_LICENSE_NUMBER")
    private String businessLicenseNumber;
    /**营业执照附件*/
    @Excel(name = "营业执照附件", width = 15)
    @ApiModelProperty(value = "营业执照附件")
    @TableField("BUSINESS_LICENSE_FILE")
    private String businessLicenseFile;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;
    /**创建时间*/
    @Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
//    @TableField(value = "CREATE_TIME")
    private Date createTime;
    /**审核状态*/
    @Excel(name = "审核状态", width = 15)
    @ApiModelProperty(value = "审核状态")
    @TableField("STATUS")
    private Integer status;


}
